package io.github.lee.repository.qb.domain

import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName


@Keep
data class ServerState(
    @SerializedName("alltime_dl")
    val alltimeDl: Long? = 0,
    @SerializedName("alltime_ul")
    val alltimeUl: Long? = 0,
    @SerializedName("average_time_queue")
    val averageTimeQueue: Int? = 0,
    @SerializedName("connection_status")
    val connectionStatus: String? = "",
    @SerializedName("dht_nodes")
    val dhtNodes: Int? = 0,
    @SerializedName("dl_info_data")
    val dlInfoData: Long? = 0,
    @SerializedName("dl_info_speed")
    val dlInfoSpeed: Int? = 0,
    @SerializedName("dl_rate_limit")
    val dlRateLimit: Int? = 0,
    @SerializedName("free_space_on_disk")
    val freeSpaceOnDisk: Long? = 0,
    @SerializedName("global_ratio")
    val globalRatio: String? = "",
    @SerializedName("queued_io_jobs")
    val queuedIoJobs: Int? = 0,
    @SerializedName("queueing")
    val queueing: Boolean? = false,
    @SerializedName("read_cache_hits")
    val readCacheHits: String? = "",
    @SerializedName("read_cache_overload")
    val readCacheOverload: String? = "",
    @SerializedName("refresh_interval")
    val refreshInterval: Int? = 0,
    @SerializedName("total_buffers_size")
    val totalBuffersSize: Int? = 0,
    @SerializedName("total_peer_connections")
    val totalPeerConnections: Int? = 0,
    @SerializedName("total_queued_size")
    val totalQueuedSize: Int? = 0,
    @SerializedName("total_wasted_session")
    val totalWastedSession: Int? = 0,
    @SerializedName("up_info_data")
    val upInfoData: Long? = 0,
    @SerializedName("up_info_speed")
    val upInfoSpeed: Int? = 0,
    @SerializedName("up_rate_limit")
    val upRateLimit: Int? = 0,
    @SerializedName("use_alt_speed_limits")
    val useAltSpeedLimits: Boolean? = false,
    @SerializedName("write_cache_overload")
    val writeCacheOverload: String? = ""
)
